package com.lzy.mall.order.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

import lombok.*;
import org.beetl.sql.core.TailBean;
import org.beetl.sql.core.annotatoin.Table;

/**
 * 支付信息表(OmsPaymentInfo)实体类
 *
 * @author lzy
 * @since 2021-08-25 11:22:44
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Table(name = "oms_payment_info")
public class OmsPaymentInfo extends TailBean implements Serializable {
    private static final long serialVersionUID = -94224334960811107L;
    /**
     * id
     */
    private Long id;
    /**
     * 订单号（对外业务号）
     */
    private String orderSn;
    /**
     * 订单id
     */
    private Long orderId;
    /**
     * 支付宝交易流水号
     */
    private String alipayTradeNo;
    /**
     * 支付总金额
     */
    private BigDecimal totalAmount;
    /**
     * 交易内容
     */
    private String subject;
    /**
     * 支付状态
     */
    private String paymentStatus;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 确认时间
     */
    private Date confirmTime;
    /**
     * 回调内容
     */
    private String callbackContent;
    /**
     * 回调时间
     */
    private Date callbackTime;

}
